from flask import Flask

app = Flask(__name__)


@app.route('/')
def index():
    return 'Hello World'

# Flask应用程序实例的run方法启动WEB服务器
if __name__ == '__main__':
    app.run(port=5001)
